package com.erp.erp_entitys.basic.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 字典(Dictionary)实体类
 *
 * @author lst
 * @since 2021-09-13 23:22:54
 */
public class DictionaryEntity implements Serializable {
    private static final long serialVersionUID = 462404363729226761L;
    /**
    * 主键
    */
    private Integer id;
    /**
    * 字典分类项（1：客户属性；2：基础信息；3：商品信息；4：仓库维护；5：结算相关；6：其他杂项）
    */
    private Integer type;
    /**
    * 分类小项（1：客户类型；2：供应商类型；3：客户来源；4：主营产品；5：运输方式；6：国家地区；7：港口；8：hs编码；9：数量单位；10：重量单位;11:主仓库维护；12：资源\样品维护；13：发票类型；14：币种；15：付款方式；16：价格术语；17：付款类型；18：收款类型；19：费用类型；20：业务模式；21：帐期；22：报关方式；23：文件类型;24：大类名称；25：小类名称；61：品类；62：模具类别(公模:01 私模:02 自模:03)；63：一级类目；64：二级类目；65：三级类目; 66：工艺；67：颜色订货号）
    */
    private Integer lx;
    /**
    * 客户供应商_类型名称
    */
    private String lxName;
    /**
    * 客户供应商_英文名称
    */
    private String englishname;
    /**
    * 客户供应商_具体分类
    */
    private String fl;
    /**
    * 客户供应商_默认等级
    */
    private String dj;
    /**
    * 描述
    */
    private String remark;
    /**
    * 编码
    */
    private String code;
    /**
    * 名称
    */
    private String name;
    /**
    * 国家
    */
    private String country;
    /**
    * 时区差值
    */
    private String timeZoneDifference;
    /**
    * 数量\重量单位
    */
    private String unitOfQuantity;
    /**
    * 是否商检
    */
    private String isInspection;
    /**
    * 增值税率
    */
    private String vatRate;
    /**
    * 退税率
    */
    private String taxRate;
    /**
    * 进口关税
    */
    private String importTariff;
    /**
    * 消费税率
    */
    private String consumptionTaxRate;
    /**
    * 开始日期
    */
    private Date startDate;
    /**
    * 结束日期
    */
    private Date endDate;
    /**
    * 监管条件
    */
    private String regulatoryConditions;
    /**
    * 申报要素
    */
    private String declarationElements;
    /**
    * 币种
    */
    private String bizhong;
    /**
    * 汇率
    */
    private String exchangeRate;
    /**
    * 是否有效(0:无效 1:有效)
    */
    private Integer valid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getLx() {
        return lx;
    }

    public void setLx(Integer lx) {
        this.lx = lx;
    }

    public String getLxName() {
        return lxName;
    }

    public void setLxName(String lxName) {
        this.lxName = lxName;
    }

    public String getEnglishname() {
        return englishname;
    }

    public void setEnglishname(String englishname) {
        this.englishname = englishname;
    }

    public String getFl() {
        return fl;
    }

    public void setFl(String fl) {
        this.fl = fl;
    }

    public String getDj() {
        return dj;
    }

    public void setDj(String dj) {
        this.dj = dj;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getTimeZoneDifference() {
        return timeZoneDifference;
    }

    public void setTimeZoneDifference(String timeZoneDifference) {
        this.timeZoneDifference = timeZoneDifference;
    }

    public String getUnitOfQuantity() {
        return unitOfQuantity;
    }

    public void setUnitOfQuantity(String unitOfQuantity) {
        this.unitOfQuantity = unitOfQuantity;
    }

    public String getIsInspection() {
        return isInspection;
    }

    public void setIsInspection(String isInspection) {
        this.isInspection = isInspection;
    }

    public String getVatRate() {
        return vatRate;
    }

    public void setVatRate(String vatRate) {
        this.vatRate = vatRate;
    }

    public String getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(String taxRate) {
        this.taxRate = taxRate;
    }

    public String getImportTariff() {
        return importTariff;
    }

    public void setImportTariff(String importTariff) {
        this.importTariff = importTariff;
    }

    public String getConsumptionTaxRate() {
        return consumptionTaxRate;
    }

    public void setConsumptionTaxRate(String consumptionTaxRate) {
        this.consumptionTaxRate = consumptionTaxRate;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getRegulatoryConditions() {
        return regulatoryConditions;
    }

    public void setRegulatoryConditions(String regulatoryConditions) {
        this.regulatoryConditions = regulatoryConditions;
    }

    public String getDeclarationElements() {
        return declarationElements;
    }

    public void setDeclarationElements(String declarationElements) {
        this.declarationElements = declarationElements;
    }

    public String getBizhong() {
        return bizhong;
    }

    public void setBizhong(String bizhong) {
        this.bizhong = bizhong;
    }

    public String getExchangeRate() {
        return exchangeRate;
    }

    public void setExchangeRate(String exchangeRate) {
        this.exchangeRate = exchangeRate;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Dictionary").append('[')
                .append("id=")
                .append(id)
                .append(",type=")
                .append(type)
                .append(",lx=")
                .append(lx)
                .append(",lxName=")
                .append(lxName)
                .append(",englishname=")
                .append(englishname)
                .append(",fl=")
                .append(fl)
                .append(",dj=")
                .append(dj)
                .append(",remark=")
                .append(remark)
                .append(",code=")
                .append(code)
                .append(",name=")
                .append(name)
                .append(",country=")
                .append(country)
                .append(",timeZoneDifference=")
                .append(timeZoneDifference)
                .append(",unitOfQuantity=")
                .append(unitOfQuantity)
                .append(",isInspection=")
                .append(isInspection)
                .append(",vatRate=")
                .append(vatRate)
                .append(",taxRate=")
                .append(taxRate)
                .append(",importTariff=")
                .append(importTariff)
                .append(",consumptionTaxRate=")
                .append(consumptionTaxRate)
                .append(",startDate=")
                .append(startDate)
                .append(",endDate=")
                .append(endDate)
                .append(",regulatoryConditions=")
                .append(regulatoryConditions)
                .append(",declarationElements=")
                .append(declarationElements)
                .append(",bizhong=")
                .append(bizhong)
                .append(",exchangeRate=")
                .append(exchangeRate)
                .append(",valid=")
                .append(valid)
                .append(']');
        return sb.toString();
    }
}